package example_10.mapdemo;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Demo_01 {
    public static void main(String[] args) {
        List<Map<String,Object>> stus = new ArrayList<>();
        Map<String,Object> stu = new HashMap<>();
        stu.put("no",123);
        stu.put("name","张三");
        stu.put("sex","male");
        stu.put("addr","保密");
        stu.put("tel","13061323635");
        stus.add(stu);
        System.out.println(stu);
        System.out.println(stus);

    }
}
